/* 新增样式 */
.main-header {
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(120deg, #409EFF, #67C23A);
    color: white;
}

.message-box {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
}

.message-input textarea {
    font-size: 16px;
}

.submit-btn {
    width: 120px;
}

.message-card {
    margin-bottom: 15px;
    border-radius: 6px;
}

.main-header {
    text-align: center;
    padding: 10px 0;  /* 减少上下padding使更靠上 */
    background: linear-gradient(120deg, #409EFF, #67C23A);
    color: white;
    position: relative;  /* 确保定位上下文 */
    margin-top: 0;      /* 移除默认margin */
    height: auto;       /* 高度自适应内容 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.time-tag {
    margin-left: 10px;
}

.message-content {
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 0;
    color: #333;
}

.message-footer {
    font-size: 12px;
    color: #909399;
}

.main-footer {
    text-align: center;
    color: #999;
    padding: 20px;
    font-size: 14px;
    flex-shrink: 0;
}

.el-container {
    min-height: auto;
}


.main-header h1 {
    margin: 0;          /* 移除h1默认margin */
    padding: 5px 20px;  /* 添加内边距控制尺寸 */
}
